/* 
 * File:   WB.h
 * Author: antonio
 *
 * Created on 2 de Junho de 2010, 19:53
 */

#ifndef _WB_H
#define	_WB_H

#include <map>
#include <string>
#include "registradores.h"
#include "EXEC.h"
#include "estruturas.h"

class WB {

    enum StringRegs {
        rt0, rt1, rt2, rt3, rt4, rt5, rt6, rt7
    };


public:
    WB(registradores* _regs, EXEC* exec);
    WB(const WB& orig);
    virtual ~WB();
    void executa(bufferEXEC buffer);

private:
    std::map<std::string, StringRegs> s_mapStringRegs;
    registradores* regs;
    EXEC* exec;

};

#endif	/* _WB_H */

